MODULE	'exec/nodes'

OBJECT MemChunk
	Next:PTR TO MemChunk,
	Bytes:ULONG

OBJECT	MemHeader
	Node:LN,
	Attributes:UWORD,
	First:PTR TO MemChunk,
	Lower:PTR,
	Upper:PTR,
	Free:ULONG

/*
OBJECT	MemEntry
union {
    ULONG   meu_Reqs;	
    APTR    meu_Addr;	
    } me_Un;
    ULONG   me_Length;	
};

#define me_un	    me_Un
#define me_Reqs     me_Un.meu_Reqs
#define me_Addr     me_Un.meu_Addr
*/

/*
OBJECT	MemList
	Node:LN,
	NumEntries:UWORD,
	ME:MemEntry
*/

CONST	MEMF_ANY=0,
		MEMF_PUBLIC=1,
		MEMF_CHIP=2,
		MEMF_FAST=4,

		MEMF_LOCAL=$100,
		MEMF_24BITDMA=$200,
		MEMF_KICK=$400,

		MEMF_CLEAR=$10000,
		MEMF_LARGEST=$20000,
		MEMF_REVERSE=$40000,
		MEMF_TOTAL=$80000,

		MEMF_NO_EXPUNGE=$80000000
/*
#define MEM_BLOCKSIZE	8L
#define MEM_BLOCKMASK	(MEM_BLOCKSIZE-1)


struct MemHandlerData
{
	ULONG	memh_RequestSize;	
	ULONG	memh_RequestFlags;
	ULONG	memh_Flags;			
};

#define	MEMHF_RECYCLE	(1L<<0)

#define	MEM_DID_NOTHING	(0)
#define	MEM_ALL_DONE	(-1)	
#define	MEM_TRY_AGAIN	(1)	
*/
